package common.model.enums;

import lombok.Getter;

/**
 * 和数据库sys_user表中valid字段对应
 *
 * @author 米泽鹏
 * @since 2022-3-24 下午 7:55
 */
@Getter
public enum UserDeletedEnum {

	NOT_DELETED(0, "未删除"),

	DELETED(1, "已删除"),

	PRE_DELETED(2, "预备删除");

	/**
	 * 字段的值
	 */
	private final Integer value;

	/**
	 * 字段的描述
	 */
	private final String desc;

	UserDeletedEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

}
